package com.mySchool.entity.DTO;

import lombok.*;

import javax.persistence.*;
import java.math.*;
import java.time.*;

/**
* @author : Hinton
* @时间 : 2024/11/16 下午3:00
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BookDetailResponse {
    private String provinceName;

    @javax.validation.constraints.Size(max = 255)
    @javax.validation.constraints.NotNull
    @Column(name = "name", nullable = false)
    private String bookName;

    @javax.validation.constraints.Size(max = 255)
    @Column(name = "author")
    private String author;

}